package com.itheima.pattern.adapter.class_adapter;

public class Client {
    public static void main(String[] args) {
        Computer computer = new Computer();

        SDCard sDcard = new SDcardImpl();
        String s = computer.readSD(sDcard);
        System.out.println(s);
        computer.writeSD(sDcard,"柳淇");
        System.out.println("---------------------");


        SDAdapterTF adapter = new SDAdapterTF();
        String s1 = computer.readSD(adapter);
        System.out.println(s1);
        computer.writeSD(adapter,"臭琪琪");


    }
}
